home *** CD-ROM | disk | FTP | other *** search
/ 100 Plus Great Games 2 / 100PLUSV2.BIN / games / Hex.dxr / generic gfx_9_win-lose text.ls < prev    next >
Encoding:
Text File  |  2002-01-31  |  362 b   |  17 lines

  1. property pSprite, spriteNum
  2. global gVictor
  3.  
  4. on beginSprite me
  5.   pSprite = sprite(spriteNum)
  6.   if (the timeOutList).count > 0 then
  7.     (the timeOutList).deleteAll()
  8.   end if
  9.   if gVictor = #player then
  10.     puppetSound(5, "win")
  11.     pSprite.member.text = "You Win!!!"
  12.   else
  13.     puppetSound(5, "lose")
  14.     pSprite.member.text = "give it another try!"
  15.   end if
  16. end
  17.